package com.panda.mall.wares;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = "com.panda.**")
@MapperScan("com.panda.mall.wares.**.mapper")
@EnableFeignClients("com.panda.**")
@EnableCaching
public class MallWaresApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallWaresApplication.class, args);
    }

}
